<?php
/**
 * @file americandefine.php
 * @author LinLin
 * @date 2016年3月24日 下午12:40:57
 * @brief 
 */
namespace haibao\cms\model\data\americandrama;

Class AmericanDefine extends \haibao\cms\model\data\Base{

    /**
     * 状态  
     */
    const STATUS_DISABLE = 1; //1删除
    const STATUS_ENABLE = 0; //0正常
    
    /**
     * 发布状态
     */
    const PUBLISHED_STATUS_ING = 2;  //发布中
    const PUBLISHED_STATUS_ENABLE = 1;  //已发布
    const PUBLISHED_STATUS_DISABLE = 0;  //未发布
    
    /**
     * 中文名
     */
    public $NameCH;

    /**
     * 英文名
     */
    public $NameEN;
    
    /**
     * 别名
     */
    public $OtherName;

    /**
     * 头像地址
     */
    public $AvatarUrl;
    
    /**
     * 封面地址
     */
    public $CoverUrl;

    /**
     * 上映时间
     */
    public $ReleaseDate;

    
    /**
     * 剧集数
     */
    public $EpisodesNum;
    
    /**
     * 内容简介
     */
    public $Content;
    
    /**
     * 状态 1删除 0 正常
     */
    public $Status;
    
    /**
     * 中文首字母
     */
    public $PinyinCH;
    
    /**
     * 英文首字母
     */
    public $PinyinEN;
    
    
    /**
     *  回归日期
     */
    public $ReturnDate;
    
    /**
     *  季终日期 
     */
    public $EndDate;
    
    /**
     * 发布状态 0 未发布 1已发布
     */
    public $Published;
    
    /**
     * 更新时间
     */
    public $UpdateTime;
    
    /**
     * 创建时间
     */
    public $CreateTime;
    
    /**
     * 创建人
     */
    public $CreateBy;
    
    /**
     * 创建人名字
     */
    public $UserName;
    
    public $IndexTime;
    
    public $OldAvatarUrl;
    
    public $AmericanStars;
    public $AmericanTag;
    public $AmericanRadio;
    public $AmericanCategory;
    public $AmericanUrl;

    public $HighLightNameCH;
    public $HighLightNameEN;
    public $HighLightContent;
    
    public function __construct(){
        parent::__construct();
        $this->stringField('NameCH','NameCH',true);
        $this->stringField('NameEN','NameEN',true);
        $this->stringField('OtherName','OtherName');
        $this->stringField('AvatarUrl','AvatarUrl');
        $this->stringField('CoverUrl','CoverUrl');
        $this->dateField('ReleaseDate','ReleaseDate');
        $this->intField('EpisodesNum','EpisodesNum',true);
        $this->stringField('Content','Content');
        $this->intField('Status','Status');
        $this->stringField('PinyinCH','PinyinCH',true);
        $this->stringField('PinyinEN','PinyinEN',true);
        $this->dateField('ReturnDate','ReturnDate');
        $this->dateField('EndDate','EndDate');
        $this->intField('Published','Published');
        $this->dateField('UpdateTime','UpdateTime',true);
        $this->dateField('CreateTime','CreateTime',true);
        $this->dateField('IndexTime','IndexTime',true);
        $this->intField('CreateBy','CreateBy',true);

        $this->setTableName('AmericanDefine');
    }
} 